home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / PInterfaces / AERegistry.p < prev    next >
Text File  |  1996-05-01  |  36KB  |  856 lines

  1. {
  2.      File:        AERegistry.p
  3.  
  4.      Contains:    AppleEvents Registry Interface.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT AERegistry;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __AEREGISTRY__}
  28. {$SETC __AEREGISTRY__ := 1}
  29.  
  30. {$I+}
  31. {$SETC AERegistryIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __TYPES__}
  35. {$I Types.p}
  36. {$ENDC}
  37. {$IFC UNDEFINED __ERRORS__}
  38. {$I Errors.p}
  39. {$ENDC}
  40. {$IFC UNDEFINED __APPLEEVENTS__}
  41. {$I AppleEvents.p}
  42. {$ENDC}
  43. {$IFC UNDEFINED __QUICKDRAW__}
  44. {$I Quickdraw.p}
  45. {$ENDC}
  46. {$IFC UNDEFINED __KEYBOARD__}
  47. {$I Keyboard.p}
  48. {$ENDC}
  49.  
  50. {$PUSH}
  51. {$ALIGN MAC68K}
  52. {$LibExport+}
  53.  
  54.  
  55. CONST
  56.     cAEList                        = 'list';                        {   0x6c697374   }
  57.     cApplication                = 'capp';                        {   0x63617070   }
  58.     cArc                        = 'carc';                        {   0x63617263   }
  59.     cBoolean                    = 'bool';                        {   0x626f6f6c   }
  60.     cCell                        = 'ccel';                        {   0x6363656c   }
  61.     cChar                        = 'cha ';                        {   0x63686120   }
  62.     cColorTable                    = 'clrt';                        {   0x636c7274   }
  63.     cColumn                        = 'ccol';                        {   0x63636f6c   }
  64.     cDocument                    = 'docu';                        {   0x646f6375   }
  65.     cDrawingArea                = 'cdrw';                        {   0x63647277   }
  66.     cEnumeration                = 'enum';                        {   0x656e756d   }
  67.     cFile                        = 'file';                        {   0x66696c65   }
  68.     cFixed                        = 'fixd';                        {   0x66697864   }
  69.     cFixedPoint                    = 'fpnt';                        {   0x66706e74   }
  70.     cFixedRectangle                = 'frct';                        {   0x66726374   }
  71.     cGraphicLine                = 'glin';                        {   0x676c696e   }
  72.     cGraphicObject                = 'cgob';                        {   0x63676f62   }
  73.     cGraphicShape                = 'cgsh';                        {   0x63677368   }
  74.     cGraphicText                = 'cgtx';                        {   0x63677478   }
  75.     cGroupedGraphic                = 'cpic';                        {   0x63706963   }
  76.  
  77.     cInsertionLoc                = 'insl';                        {   0x696e736c   }
  78.     cInsertionPoint                = 'cins';                        {   0x63696e73   }
  79.     cIntlText                    = 'itxt';                        {   0x69747874   }
  80.     cIntlWritingCode            = 'intl';                        {   0x696e746c   }
  81.     cItem                        = 'citm';                        {   0x6369746d   }
  82.     cLine                        = 'clin';                        {   0x636c696e   }
  83.     cLongDateTime                = 'ldt ';                        {   0x6c647420   }
  84.     cLongFixed                    = 'lfxd';                        {   0x6c667864   }
  85.     cLongFixedPoint                = 'lfpt';                        {   0x6c667074   }
  86.     cLongFixedRectangle            = 'lfrc';                        {   0x6c667263   }
  87.     cLongInteger                = 'long';                        {   0x6c6f6e67   }
  88.     cLongPoint                    = 'lpnt';                        {   0x6c706e74   }
  89.     cLongRectangle                = 'lrct';                        {   0x6c726374   }
  90.     cMachineLoc                    = 'mLoc';                        {   0x6d4c6f63   }
  91.     cMenu                        = 'cmnu';                        {   0x636d6e75   }
  92.     cMenuItem                    = 'cmen';                        {   0x636d656e   }
  93.     cObject                        = 'cobj';                        {   0x636f626a   }
  94.     cObjectSpecifier            = 'obj ';                        {   0x6f626a20   }
  95.     cOpenableObject                = 'coob';                        {   0x636f6f62   }
  96.     cOval                        = 'covl';                        {   0x636f766c   }
  97.  
  98.     cParagraph                    = 'cpar';                        {   0x63706172   }
  99.     cPICT                        = 'PICT';                        {   0x50494354   }
  100.     cPixel                        = 'cpxl';                        {   0x6370786c   }
  101.     cPixelMap                    = 'cpix';                        {   0x63706978   }
  102.     cPolygon                    = 'cpgn';                        {   0x6370676e   }
  103.     cProperty                    = 'prop';                        {   0x70726f70   }
  104.     cQDPoint                    = 'QDpt';                        {   0x51447074   }
  105.     cQDRectangle                = 'qdrt';                        {   0x71647274   }
  106.     cRectangle                    = 'crec';                        {   0x63726563   }
  107.     cRGBColor                    = 'cRGB';                        {   0x63524742   }
  108.     cRotation                    = 'trot';                        {   0x74726f74   }
  109.     cRoundedRectangle            = 'crrc';                        {   0x63727263   }
  110.     cRow                        = 'crow';                        {   0x63726f77   }
  111.     cSelection                    = 'csel';                        {   0x6373656c   }
  112.     cShortInteger                = 'shor';                        {   0x73686f72   }
  113.     cTable                        = 'ctbl';                        {   0x6374626c   }
  114.     cText                        = 'ctxt';                        {   0x63747874   }
  115.     cTextFlow                    = 'cflo';                        {   0x63666c6f   }
  116.     cTextStyles                    = 'tsty';                        {   0x74737479   }
  117.     cType                        = 'type';                        {   0x74797065   }
  118.  
  119.     cVersion                    = 'vers';                        {   0x76657273   }
  120.     cWindow                        = 'cwin';                        {   0x6377696e   }
  121.     cWord                        = 'cwor';                        {   0x63776f72   }
  122.     enumArrows                    = 'arro';                        {   0x6172726f   }
  123.     enumJustification            = 'just';                        {   0x6a757374   }
  124.     enumKeyForm                    = 'kfrm';                        {   0x6b66726d   }
  125.     enumPosition                = 'posi';                        {   0x706f7369   }
  126.     enumProtection                = 'prtn';                        {   0x7072746e   }
  127.     enumQuality                    = 'qual';                        {   0x7175616c   }
  128.     enumSaveOptions                = 'savo';                        {   0x7361766f   }
  129.     enumStyle                    = 'styl';                        {   0x7374796c   }
  130.     enumTransferMode            = 'tran';                        {   0x7472616e   }
  131.     formUniqueID                = 'ID  ';                        {   0x49442020   }
  132.     kAEAbout                    = 'abou';                        {   0x61626f75   }
  133.     kAEAfter                    = 'afte';                        {   0x61667465   }
  134.     kAEAliasSelection            = 'sali';                        {   0x73616c69   }
  135.     kAEAllCaps                    = 'alcp';                        {   0x616c6370   }
  136.     kAEArrowAtEnd                = 'aren';                        {   0x6172656e   }
  137.     kAEArrowAtStart                = 'arst';                        {   0x61727374   }
  138.     kAEArrowBothEnds            = 'arbo';                        {   0x6172626f   }
  139.  
  140.     kAEAsk                        = 'ask ';                        {   0x61736b20   }
  141.     kAEBefore                    = 'befo';                        {   0x6265666f   }
  142.     kAEBeginning                = 'bgng';                        {   0x62676e67   }
  143.     kAEBeginsWith                = 'bgwt';                        {   0x62677774   }
  144.     kAEBeginTransaction            = 'begi';                        {   0x62656769   }
  145.     kAEBold                        = 'bold';                        {   0x626f6c64   }
  146.     kAECaseSensEquals            = 'cseq';                        {   0x63736571   }
  147.     kAECentered                    = 'cent';                        {   0x63656e74   }
  148.     kAEChangeView                = 'view';                        {   0x76696577   }
  149.     kAEClone                    = 'clon';                        {   0x636c6f6e   }
  150.     kAEClose                    = 'clos';                        {   0x636c6f73   }
  151.     kAECondensed                = 'cond';                        {   0x636f6e64   }
  152.     kAEContains                    = 'cont';                        {   0x636f6e74   }
  153.     kAECopy                        = 'copy';                        {   0x636f7079   }
  154.     kAECoreSuite                = 'core';                        {   0x636f7265   }
  155.     kAECountElements            = 'cnte';                        {   0x636e7465   }
  156.     kAECreateElement            = 'crel';                        {   0x6372656c   }
  157.     kAECreatePublisher            = 'cpub';                        {   0x63707562   }
  158.     kAECut                        = 'cut ';                        {   0x63757420   }
  159.     kAEDelete                    = 'delo';                        {   0x64656c6f   }
  160.  
  161.     kAEDoObjectsExist            = 'doex';                        {   0x646f6578   }
  162.     kAEDoScript                    = 'dosc';                        {   0x646f7363   }
  163.     kAEDrag                        = 'drag';                        {   0x64726167   }
  164.     kAEDuplicateSelection        = 'sdup';                        {   0x73647570   }
  165.     kAEEditGraphic                = 'edit';                        {   0x65646974   }
  166.     kAEEmptyTrash                = 'empt';                        {   0x656d7074   }
  167.     kAEEnd                        = 'end ';                        {   0x656e6420   }
  168.     kAEEndsWith                    = 'ends';                        {   0x656e6473   }
  169.     kAEEndTransaction            = 'endt';                        {   0x656e6474   }
  170.     kAEEquals                    = '=   ';                        {   0x3d202020   }
  171.     kAEExpanded                    = 'pexp';                        {   0x70657870   }
  172.     kAEFast                        = 'fast';                        {   0x66617374   }
  173.     kAEFinderEvents                = 'FNDR';                        {   0x464e4452   }
  174.     kAEFormulaProtect            = 'fpro';                        {   0x6670726f   }
  175.     kAEFullyJustified            = 'full';                        {   0x66756c6c   }
  176.     kAEGetClassInfo                = 'qobj';                        {   0x716f626a   }
  177.     kAEGetData                    = 'getd';                        {   0x67657464   }
  178.     kAEGetDataSize                = 'dsiz';                        {   0x6473697a   }
  179.     kAEGetEventInfo                = 'gtei';                        {   0x67746569   }
  180.     kAEGetInfoSelection            = 'sinf';                        {   0x73696e66   }
  181.  
  182.     kAEGetPrivilegeSelection    = 'sprv';                        {   0x73707276   }
  183.     kAEGetSuiteInfo                = 'gtsi';                        {   0x67747369   }
  184.     kAEGreaterThan                = '>   ';                        {   0x3e202020   }
  185.     kAEGreaterThanEquals        = '>=  ';                        {   0x3e3d2020   }
  186.     kAEGrow                        = 'grow';                        {   0x67726f77   }
  187.     kAEHidden                    = 'hidn';                        {   0x6869646e   }
  188.     kAEHiQuality                = 'hiqu';                        {   0x68697175   }
  189.     kAEImageGraphic                = 'imgr';                        {   0x696d6772   }
  190.     kAEIsUniform                = 'isun';                        {   0x6973756e   }
  191.     kAEItalic                    = 'ital';                        {   0x6974616c   }
  192.     kAELeftJustified            = 'left';                        {   0x6c656674   }
  193.     kAELessThan                    = '<   ';                        {   0x3c202020   }
  194.     kAELessThanEquals            = '<=  ';                        {   0x3c3d2020   }
  195.     kAELowercase                = 'lowc';                        {   0x6c6f7763   }
  196.     kAEMakeObjectsVisible        = 'mvis';                        {   0x6d766973   }
  197.     kAEMiscStandards            = 'misc';                        {   0x6d697363   }
  198.     kAEModifiable                = 'modf';                        {   0x6d6f6466   }
  199.     kAEMove                        = 'move';                        {   0x6d6f7665   }
  200.     kAENo                        = 'no  ';                        {   0x6e6f2020   }
  201.     kAENoArrow                    = 'arno';                        {   0x61726e6f   }
  202.  
  203.     kAENonmodifiable            = 'nmod';                        {   0x6e6d6f64   }
  204.     kAEOpen                        = 'odoc';                        {   0x6f646f63   }
  205.     kAEOpenSelection            = 'sope';                        {   0x736f7065   }
  206.     kAEOutline                    = 'outl';                        {   0x6f75746c   }
  207.     kAEPageSetup                = 'pgsu';                        {   0x70677375   }
  208.     kAEPaste                    = 'past';                        {   0x70617374   }
  209.     kAEPlain                    = 'plan';                        {   0x706c616e   }
  210.     kAEPrint                    = 'pdoc';                        {   0x70646f63   }
  211.     kAEPrintSelection            = 'spri';                        {   0x73707269   }
  212.     kAEPrintWindow                = 'pwin';                        {   0x7077696e   }
  213.     kAEPutAwaySelection            = 'sput';                        {   0x73707574   }
  214.     kAEQDAddOver                = 'addo';                        {   0x6164646f   }
  215.     kAEQDAddPin                    = 'addp';                        {   0x61646470   }
  216.     kAEQDAdMax                    = 'admx';                        {   0x61646d78   }
  217.     kAEQDAdMin                    = 'admn';                        {   0x61646d6e   }
  218.     kAEQDBic                    = 'bic ';                        {   0x62696320   }
  219.     kAEQDBlend                    = 'blnd';                        {   0x626c6e64   }
  220.     kAEQDCopy                    = 'cpy ';                        {   0x63707920   }
  221.     kAEQDNotBic                    = 'nbic';                        {   0x6e626963   }
  222.     kAEQDNotCopy                = 'ncpy';                        {   0x6e637079   }
  223.  
  224.     kAEQDNotOr                    = 'ntor';                        {   0x6e746f72   }
  225.     kAEQDNotXor                    = 'nxor';                        {   0x6e786f72   }
  226.     kAEQDOr                        = 'or  ';                        {   0x6f722020   }
  227.     kAEQDSubOver                = 'subo';                        {   0x7375626f   }
  228.     kAEQDSubPin                    = 'subp';                        {   0x73756270   }
  229.     kAEQDSupplementalSuite        = 'qdsp';                        {   0x71647370   }
  230.     kAEQDXor                    = 'xor ';                        {   0x786f7220   }
  231.     kAEQuickdrawSuite            = 'qdrw';                        {   0x71647277   }
  232.     kAEQuitAll                    = 'quia';                        {   0x71756961   }
  233.     kAERedo                        = 'redo';                        {   0x7265646f   }
  234.     kAERegular                    = 'regl';                        {   0x7265676c   }
  235.     kAEReplace                    = 'rplc';                        {   0x72706c63   }
  236.     kAERequiredSuite            = 'reqd';                        {   0x72657164   }
  237.     kAERestart                    = 'rest';                        {   0x72657374   }
  238.     kAERevealSelection            = 'srev';                        {   0x73726576   }
  239.     kAERevert                    = 'rvrt';                        {   0x72767274   }
  240.     kAERightJustified            = 'rght';                        {   0x72676874   }
  241.     kAESave                        = 'save';                        {   0x73617665   }
  242.     kAESelect                    = 'slct';                        {   0x736c6374   }
  243.     kAESetData                    = 'setd';                        {   0x73657464   }
  244.  
  245.     kAESetPosition                = 'posn';                        {   0x706f736e   }
  246.     kAEShadow                    = 'shad';                        {   0x73686164   }
  247.     kAEShowClipboard            = 'shcl';                        {   0x7368636c   }
  248.     kAEShutDown                    = 'shut';                        {   0x73687574   }
  249.     kAESleep                    = 'slep';                        {   0x736c6570   }
  250.     kAESmallCaps                = 'smcp';                        {   0x736d6370   }
  251.     kAESpecialClassProperties    = 'c@#!';                        {   0x63402321   }
  252.     kAEStrikethrough            = 'strk';                        {   0x7374726b   }
  253.     kAESubscript                = 'sbsc';                        {   0x73627363   }
  254.     kAESuperscript                = 'spsc';                        {   0x73707363   }
  255.     kAETableSuite                = 'tbls';                        {   0x74626c73   }
  256.     kAETextSuite                = 'TEXT';                        {   0x54455854   }
  257.     kAETransactionTerminated    = 'ttrm';                        {   0x7474726d   }
  258.     kAEUnderline                = 'undl';                        {   0x756e646c   }
  259.     kAEUndo                        = 'undo';                        {   0x756e646f   }
  260.     kAEWholeWordEquals            = 'wweq';                        {   0x77776571   }
  261.     kAEYes                        = 'yes ';                        {   0x79657320   }
  262.     kAEZoom                        = 'zoom';                        {   0x7a6f6f6d   }
  263.  
  264. {  EventRecord Classes and EventIDs  }
  265.     kAEMouseClass                = 'mous';
  266.     kAEDown                        = 'down';
  267.     kAEUp                        = 'up  ';
  268.     kAEMoved                    = 'move';
  269.     kAEStoppedMoving            = 'stop';
  270.     kAEWindowClass                = 'wind';
  271.     kAEUpdate                    = 'updt';
  272.     kAEActivate                    = 'actv';
  273.     kAEDeactivate                = 'dact';
  274.     kAECommandClass                = 'cmnd';                        {  Modern Command Event Class  }
  275.     kAEKeyClass                    = 'keyc';
  276.     kAERawKey                    = 'rkey';                        {  Modern Raw Key Event  }
  277.     kAEVirtualKey                = 'keyc';                        {  Modern Virtual Key Event  }
  278.     kAENavigationKey            = 'nave';                        {  Modern Navigation Key Event  }
  279.     kAEAutoDown                    = 'auto';
  280.     kAEApplicationClass            = 'appl';
  281.     kAESuspend                    = 'susp';
  282.     kAEResume                    = 'rsme';
  283.     kAEDiskEvent                = 'disk';
  284.     kAENullEvent                = 'null';
  285.     kAEWakeUpEvent                = 'wake';
  286.     kAEScrapEvent                = 'scrp';
  287.     kAEHighLevel                = 'high';
  288.  
  289.     keyAEAngle                    = 'kang';                        {   0x6b616e67   }
  290.     keyAEArcAngle                = 'parc';                        {   0x70617263   }
  291.  
  292.     keyAEBaseAddr                = 'badd';                        {   0x62616464   }
  293.     keyAEBestType                = 'pbst';                        {   0x70627374   }
  294.     keyAEBgndColor                = 'kbcl';                        {   0x6b62636c   }
  295.     keyAEBgndPattern            = 'kbpt';                        {   0x6b627074   }
  296.     keyAEBounds                    = 'pbnd';                        {   0x70626e64   }
  297.     keyAECellList                = 'kclt';                        {   0x6b636c74   }
  298.     keyAEClassID                = 'clID';                        {   0x636c4944   }
  299.     keyAEColor                    = 'colr';                        {   0x636f6c72   }
  300.     keyAEColorTable                = 'cltb';                        {   0x636c7462   }
  301.     keyAECurveHeight            = 'kchd';                        {   0x6b636864   }
  302.     keyAECurveWidth                = 'kcwd';                        {   0x6b637764   }
  303.     keyAEDashStyle                = 'pdst';                        {   0x70647374   }
  304.     keyAEData                    = 'data';                        {   0x64617461   }
  305.     keyAEDefaultType            = 'deft';                        {   0x64656674   }
  306.     keyAEDefinitionRect            = 'pdrt';                        {   0x70647274   }
  307.     keyAEDescType                = 'dstp';                        {   0x64737470   }
  308.     keyAEDestination            = 'dest';                        {   0x64657374   }
  309.     keyAEDoAntiAlias            = 'anta';                        {   0x616e7461   }
  310.     keyAEDoDithered                = 'gdit';                        {   0x67646974   }
  311.     keyAEDoRotate                = 'kdrt';                        {   0x6b647274   }
  312.  
  313.     keyAEDoScale                = 'ksca';                        {   0x6b736361   }
  314.     keyAEDoTranslate            = 'ktra';                        {   0x6b747261   }
  315.     keyAEEditionFileLoc            = 'eloc';                        {   0x656c6f63   }
  316.     keyAEElements                = 'elms';                        {   0x656c6d73   }
  317.     keyAEEndPoint                = 'pend';                        {   0x70656e64   }
  318.     keyAEEventClass                = 'evcl';                        {   0x6576636c   }
  319.     keyAEEventID                = 'evti';                        {   0x65767469   }
  320.     keyAEFile                    = 'kfil';                        {   0x6b66696c   }
  321.     keyAEFileType                = 'fltp';                        {   0x666c7470   }
  322.     keyAEFillColor                = 'flcl';                        {   0x666c636c   }
  323.     keyAEFillPattern            = 'flpt';                        {   0x666c7074   }
  324.     keyAEFlipHorizontal            = 'kfho';                        {   0x6b66686f   }
  325.     keyAEFlipVertical            = 'kfvt';                        {   0x6b667674   }
  326.     keyAEFont                    = 'font';                        {   0x666f6e74   }
  327.     keyAEFormula                = 'pfor';                        {   0x70666f72   }
  328.     keyAEGraphicObjects            = 'gobs';                        {   0x676f6273   }
  329.     keyAEID                        = 'ID  ';                        {   0x49442020   }
  330.     keyAEImageQuality            = 'gqua';                        {   0x67717561   }
  331.     keyAEInsertHere                = 'insh';                        {   0x696e7368   }
  332.     keyAEKeyForms                = 'keyf';                        {   0x6b657966   }
  333.  
  334.     keyAEKeyword                = 'kywd';                        {   0x6b797764   }
  335.     keyAELevel                    = 'levl';                        {   0x6c65766c   }
  336.     keyAELineArrow                = 'arro';                        {   0x6172726f   }
  337.     keyAEName                    = 'pnam';                        {   0x706e616d   }
  338.     keyAENewElementLoc            = 'pnel';                        {   0x706e656c   }
  339.     keyAEObject                    = 'kobj';                        {   0x6b6f626a   }
  340.     keyAEObjectClass            = 'kocl';                        {   0x6b6f636c   }
  341.     keyAEOffStyles                = 'ofst';                        {   0x6f667374   }
  342.     keyAEOnStyles                = 'onst';                        {   0x6f6e7374   }
  343.     keyAEParameters                = 'prms';                        {   0x70726d73   }
  344.     keyAEParamFlags                = 'pmfg';                        {   0x706d6667   }
  345.     keyAEPenColor                = 'ppcl';                        {   0x7070636c   }
  346.     keyAEPenPattern                = 'pppa';                        {   0x70707061   }
  347.     keyAEPenWidth                = 'ppwd';                        {   0x70707764   }
  348.     keyAEPixelDepth                = 'pdpt';                        {   0x70647074   }
  349.     keyAEPixMapMinus            = 'kpmm';                        {   0x6b706d6d   }
  350.     keyAEPMTable                = 'kpmt';                        {   0x6b706d74   }
  351.     keyAEPointList                = 'ptlt';                        {   0x70746c74   }
  352.     keyAEPointSize                = 'ptsz';                        {   0x7074737a   }
  353.     keyAEPosition                = 'kpos';                        {   0x6b706f73   }
  354.  
  355.     keyAEPropData                = 'prdt';                        {   0x70726474   }
  356.     keyAEProperties                = 'qpro';                        {   0x7170726f   }
  357.     keyAEProperty                = 'kprp';                        {   0x6b707270   }
  358.     keyAEPropFlags                = 'prfg';                        {   0x70726667   }
  359.     keyAEPropID                    = 'prop';                        {   0x70726f70   }
  360.     keyAEProtection                = 'ppro';                        {   0x7070726f   }
  361.     keyAERenderAs                = 'kren';                        {   0x6b72656e   }
  362.     keyAERequestedType            = 'rtyp';                        {   0x72747970   }
  363.     keyAEResult                    = '----';                        {   0x2d2d2d2d   }
  364.     keyAEResultInfo                = 'rsin';                        {   0x7273696e   }
  365.     keyAERotation                = 'prot';                        {   0x70726f74   }
  366.     keyAERotPoint                = 'krtp';                        {   0x6b727470   }
  367.     keyAERowList                = 'krls';                        {   0x6b726c73   }
  368.     keyAESaveOptions            = 'savo';                        {   0x7361766f   }
  369.     keyAEScale                    = 'pscl';                        {   0x7073636c   }
  370.     keyAEScriptTag                = 'psct';                        {   0x70736374   }
  371.     keyAEShowWhere                = 'show';                        {   0x73686f77   }
  372.     keyAEStartAngle                = 'pang';                        {   0x70616e67   }
  373.     keyAEStartPoint                = 'pstp';                        {   0x70737470   }
  374.     keyAEStyles                    = 'ksty';                        {   0x6b737479   }
  375.  
  376.     keyAESuiteID                = 'suit';                        {   0x73756974   }
  377.     keyAEText                    = 'ktxt';                        {   0x6b747874   }
  378.     keyAETextColor                = 'ptxc';                        {   0x70747863   }
  379.     keyAETextFont                = 'ptxf';                        {   0x70747866   }
  380.     keyAETextPointSize            = 'ptps';                        {   0x70747073   }
  381.     keyAETextStyles                = 'txst';                        {   0x74787374   }
  382.     keyAETextLineHeight            = 'ktlh';                        {  type ShortInteger  }
  383.     keyAETextLineAscent            = 'ktas';                        {  type ShortInteger  }
  384.     keyAETheText                = 'thtx';                        {   0x74687478   }
  385.     keyAETransferMode            = 'pptm';                        {   0x7070746d   }
  386.     keyAETranslation            = 'ptrs';                        {   0x70747273   }
  387.     keyAETryAsStructGraf        = 'toog';                        {   0x746f6f67   }
  388.     keyAEUniformStyles            = 'ustl';                        {   0x7573746c   }
  389.     keyAEUpdateOn                = 'pupd';                        {   0x70757064   }
  390.     keyAEUserTerm                = 'utrm';                        {   0x7574726d   }
  391.     keyAEWindow                    = 'wndw';                        {   0x776e6477   }
  392.     keyAEWritingCode            = 'wrcd';                        {   0x77726364   }
  393.  
  394.     keyMiscellaneous            = 'fmsc';                        {   0x666d7363   }
  395.     keySelection                = 'fsel';                        {   0x6673656c   }
  396.     keyWindow                    = 'kwnd';                        {   0x6b776e64   }
  397.                                                                 {  EventRecord keys  }
  398.     keyWhen                        = 'when';
  399.     keyWhere                    = 'wher';
  400.     keyModifiers                = 'mods';
  401.     keyKey                        = 'key ';
  402.     keyKeyCode                    = 'code';
  403.     keyKeyboard                    = 'keyb';
  404.     keyDriveNumber                = 'drv#';
  405.     keyErrorCode                = 'err#';
  406.     keyHighLevelClass            = 'hcls';
  407.     keyHighLevelID                = 'hid ';
  408.  
  409.     pArcAngle                    = 'parc';                        {   0x70617263   }
  410.     pBackgroundColor            = 'pbcl';                        {   0x7062636c   }
  411.     pBackgroundPattern            = 'pbpt';                        {   0x70627074   }
  412.     pBestType                    = 'pbst';                        {   0x70627374   }
  413.     pBounds                        = 'pbnd';                        {   0x70626e64   }
  414.     pClass                        = 'pcls';                        {   0x70636c73   }
  415.     pClipboard                    = 'pcli';                        {   0x70636c69   }
  416.     pColor                        = 'colr';                        {   0x636f6c72   }
  417.     pColorTable                    = 'cltb';                        {   0x636c7462   }
  418.     pContents                    = 'pcnt';                        {   0x70636e74   }
  419.     pCornerCurveHeight            = 'pchd';                        {   0x70636864   }
  420.     pCornerCurveWidth            = 'pcwd';                        {   0x70637764   }
  421.     pDashStyle                    = 'pdst';                        {   0x70647374   }
  422.     pDefaultType                = 'deft';                        {   0x64656674   }
  423.     pDefinitionRect                = 'pdrt';                        {   0x70647274   }
  424.     pEnabled                    = 'enbl';                        {   0x656e626c   }
  425.     pEndPoint                    = 'pend';                        {   0x70656e64   }
  426.     pFillColor                    = 'flcl';                        {   0x666c636c   }
  427.     pFillPattern                = 'flpt';                        {   0x666c7074   }
  428.     pFont                        = 'font';                        {   0x666f6e74   }
  429.  
  430.     pFormula                    = 'pfor';                        {   0x70666f72   }
  431.     pGraphicObjects                = 'gobs';                        {   0x676f6273   }
  432.     pHasCloseBox                = 'hclb';                        {   0x68636c62   }
  433.     pHasTitleBar                = 'ptit';                        {   0x70746974   }
  434.     pID                            = 'ID  ';                        {   0x49442020   }
  435.     pIndex                        = 'pidx';                        {   0x70696478   }
  436.     pInsertionLoc                = 'pins';                        {   0x70696e73   }
  437.     pIsFloating                    = 'isfl';                        {   0x6973666c   }
  438.     pIsFrontProcess                = 'pisf';                        {   0x70697366   }
  439.     pIsModal                    = 'pmod';                        {   0x706d6f64   }
  440.     pIsModified                    = 'imod';                        {   0x696d6f64   }
  441.     pIsResizable                = 'prsz';                        {   0x7072737a   }
  442.     pIsStationeryPad            = 'pspd';                        {   0x70737064   }
  443.     pIsZoomable                    = 'iszm';                        {   0x69737a6d   }
  444.     pIsZoomed                    = 'pzum';                        {   0x707a756d   }
  445.     pItemNumber                    = 'itmn';                        {   0x69746d6e   }
  446.     pJustification                = 'pjst';                        {   0x706a7374   }
  447.     pLineArrow                    = 'arro';                        {   0x6172726f   }
  448.     pMenuID                        = 'mnid';                        {   0x6d6e6964   }
  449.     pName                        = 'pnam';                        {   0x706e616d   }
  450.  
  451.     pNewElementLoc                = 'pnel';                        {   0x706e656c   }
  452.     pPenColor                    = 'ppcl';                        {   0x7070636c   }
  453.     pPenPattern                    = 'pppa';                        {   0x70707061   }
  454.     pPenWidth                    = 'ppwd';                        {   0x70707764   }
  455.     pPixelDepth                    = 'pdpt';                        {   0x70647074   }
  456.     pPointList                    = 'ptlt';                        {   0x70746c74   }
  457.     pPointSize                    = 'ptsz';                        {   0x7074737a   }
  458.     pProtection                    = 'ppro';                        {   0x7070726f   }
  459.     pRotation                    = 'prot';                        {   0x70726f74   }
  460.     pScale                        = 'pscl';                        {   0x7073636c   }
  461.     pScript                        = 'scpt';                        {   0x73637074   }
  462.     pScriptTag                    = 'psct';                        {   0x70736374   }
  463.     pSelected                    = 'selc';                        {   0x73656c63   }
  464.     pSelection                    = 'sele';                        {   0x73656c65   }
  465.     pStartAngle                    = 'pang';                        {   0x70616e67   }
  466.     pStartPoint                    = 'pstp';                        {   0x70737470   }
  467.     pTextColor                    = 'ptxc';                        {   0x70747863   }
  468.     pTextFont                    = 'ptxf';                        {   0x70747866   }
  469.     pTextItemDelimiters            = 'txdl';                        {   0x7478646c   }
  470.     pTextPointSize                = 'ptps';                        {   0x70747073   }
  471.  
  472.     pTextStyles                    = 'txst';                        {   0x74787374   }
  473.     pTransferMode                = 'pptm';                        {   0x7070746d   }
  474.     pTranslation                = 'ptrs';                        {   0x70747273   }
  475.     pUniformStyles                = 'ustl';                        {   0x7573746c   }
  476.     pUpdateOn                    = 'pupd';                        {   0x70757064   }
  477.     pUserSelection                = 'pusl';                        {   0x7075736c   }
  478.     pVersion                    = 'vers';                        {   0x76657273   }
  479.     pVisible                    = 'pvis';                        {   0x70766973   }
  480.  
  481.     typeAEText                    = 'tTXT';                        {   0x74545854   }
  482.     typeArc                        = 'carc';                        {   0x63617263   }
  483.     typeBest                    = 'best';                        {   0x62657374   }
  484.     typeCell                    = 'ccel';                        {   0x6363656c   }
  485.     typeClassInfo                = 'gcli';                        {   0x67636c69   }
  486.     typeColorTable                = 'clrt';                        {   0x636c7274   }
  487.     typeColumn                    = 'ccol';                        {   0x63636f6c   }
  488.     typeDashStyle                = 'tdas';                        {   0x74646173   }
  489.     typeData                    = 'tdta';                        {   0x74647461   }
  490.     typeDrawingArea                = 'cdrw';                        {   0x63647277   }
  491.     typeElemInfo                = 'elin';                        {   0x656c696e   }
  492.     typeEnumeration                = 'enum';                        {   0x656e756d   }
  493.     typeEPS                        = 'EPS ';                        {   0x45505320   }
  494.     typeEventInfo                = 'evin';                        {   0x6576696e   }
  495.  
  496.     typeFinderWindow            = 'fwin';                        {   0x6677696e   }
  497.     typeFixedPoint                = 'fpnt';                        {   0x66706e74   }
  498.     typeFixedRectangle            = 'frct';                        {   0x66726374   }
  499.     typeGraphicLine                = 'glin';                        {   0x676c696e   }
  500.     typeGraphicText                = 'cgtx';                        {   0x63677478   }
  501.     typeGroupedGraphic            = 'cpic';                        {   0x63706963   }
  502.     typeInsertionLoc            = 'insl';                        {   0x696e736c   }
  503.     typeIntlText                = 'itxt';                        {   0x69747874   }
  504.     typeIntlWritingCode            = 'intl';                        {   0x696e746c   }
  505.     typeLongDateTime            = 'ldt ';                        {   0x6c647420   }
  506.     typeLongFixed                = 'lfxd';                        {   0x6c667864   }
  507.     typeLongFixedPoint            = 'lfpt';                        {   0x6c667074   }
  508.     typeLongFixedRectangle        = 'lfrc';                        {   0x6c667263   }
  509.     typeLongPoint                = 'lpnt';                        {   0x6c706e74   }
  510.     typeLongRectangle            = 'lrct';                        {   0x6c726374   }
  511.     typeMachineLoc                = 'mLoc';                        {   0x6d4c6f63   }
  512.     typeOval                    = 'covl';                        {   0x636f766c   }
  513.     typeParamInfo                = 'pmin';                        {   0x706d696e   }
  514.     typePict                    = 'PICT';                        {   0x50494354   }
  515.  
  516.     typePixelMap                = 'cpix';                        {   0x63706978   }
  517.     typePixMapMinus                = 'tpmm';                        {   0x74706d6d   }
  518.     typePolygon                    = 'cpgn';                        {   0x6370676e   }
  519.     typePropInfo                = 'pinf';                        {   0x70696e66   }
  520.     typeQDPoint                    = 'QDpt';                        {   0x51447074   }
  521.     typeRectangle                = 'crec';                        {   0x63726563   }
  522.     typeRGB16                    = 'tr16';                        {   0x74723136   }
  523.     typeRGB96                    = 'tr96';                        {   0x74723936   }
  524.     typeRGBColor                = 'cRGB';                        {   0x63524742   }
  525.     typeRotation                = 'trot';                        {   0x74726f74   }
  526.     typeRoundedRectangle        = 'crrc';                        {   0x63727263   }
  527.     typeRow                        = 'crow';                        {   0x63726f77   }
  528.     typeScrapStyles                = 'styl';                        {   0x7374796c   }
  529.     typeScript                    = 'scpt';                        {   0x73637074   }
  530.     typeStyledText                = 'STXT';                        {   0x53545854   }
  531.     typeSuiteInfo                = 'suin';                        {   0x7375696e   }
  532.     typeTable                    = 'ctbl';                        {   0x6374626c   }
  533.     typeTextStyles                = 'tsty';                        {   0x74737479   }
  534.  
  535.     typeTIFF                    = 'TIFF';                        {   0x54494646   }
  536.     typeVersion                    = 'vers';                        {   0x76657273   }
  537.  
  538.     kAEMenuClass                = 'menu';
  539.     kAEMenuSelect                = 'mhit';
  540.     kAEMouseDown                = 'mdwn';
  541.     kAEMouseDownInBack            = 'mdbk';
  542.     kAEKeyDown                    = 'kdwn';
  543.     kAEResized                    = 'rsiz';
  544.     kAEPromise                    = 'prom';
  545.  
  546.     keyMenuID                    = 'mid ';
  547.     keyMenuItem                    = 'mitm';
  548.     keyCloseAllWindows            = 'caw ';
  549.     keyOriginalBounds            = 'obnd';
  550.     keyNewBounds                = 'nbnd';
  551.     keyLocalWhere                = 'lwhr';
  552.  
  553.     typeHIMenu                    = 'mobj';
  554.     typeHIWindow                = 'wobj';
  555.  
  556. {$IFC FOR_SYSTEM8_COOPERATIVE }
  557.                                                                 {  Scrap class }
  558.     kAEScrapClass                = 'scrp';                        {  Scrap promise event id }
  559.     kAEScrapPromise                = 'prom';                        {  Scrap data types }
  560.     typeScrapRef                = 'sref';
  561.     typeScrapItemRef            = 'ssir';
  562.     typeScrapItemType            = 'ssit';
  563.     typeUserPromiseHint            = 'suph';
  564.  
  565.                                                                 {  Clipboard class }
  566.     kAEClipboardClass            = 'clip';                        {  Clipobard changed event id }
  567.     kAEClipboardChanged            = 'chng';                        {  Clipboard data types }
  568.     typeClipboardTypesBuffer    = 'type';                        {  Clipboard disposed id (includes a typeScrapRef) }
  569.     kAEClipboardDisposed        = 'disp';
  570.  
  571.                                                                 {  Drag class }
  572.     kAEDragClass                = 'drag';                        {  Tracking event id's }
  573.     kAEDragEnteredApplication    = 'dtea';
  574.     kAEDragLeftApplication        = 'dtla';
  575.     kAEDragMovedInWindow        = 'dtmw';
  576.     kAEDragEnteredWindow        = 'dtew';
  577.     kAEDragLeftWindow            = 'dtlw';                        {  Tracking events containg the following keyDirectObject's: }
  578.                                                                 {  typeScrapRef }
  579.                                                                 {  typeHIWindow }
  580.                                                                 {  Receive event id }
  581.     kAEDragReceived                = 'recv';                        {  Receive event contains the following keyDirectObject's: }
  582.                                                                 {  typeScrapRef }
  583.                                                                 {  typeHIWindow }
  584.     kAEDragDrawBegin            = 'drdb';
  585.     kAEDragDraw                    = 'drdw';
  586.     kAEDragDrawHide                = 'drdh';
  587.     kAEDragDrawEnd                = 'drde';                        {  Drag draw event contains the following keyDirectObject: }
  588.                                                                 {  typeScrapRef }
  589.     typeDragShowRgn                = 'srgn';
  590.     typeDragShowOrigin            = 'sorg';
  591.     typeDragHideRgn                = 'hrgn';
  592.     typeDragHideOrigin            = 'horg';
  593.  
  594. {$ENDC}
  595.     kBySmallIcon                = 0;
  596.     kByIconView                    = 1;
  597.     kByNameView                    = 2;
  598.     kByDateView                    = 3;
  599.     kBySizeView                    = 4;
  600.     kByKindView                    = 5;
  601.     kByCommentView                = 6;
  602.     kByLabelView                = 7;
  603.     kByVersionView                = 8;
  604.  
  605.     kAEInfo                        = 11;
  606.     kAEMain                        = 0;
  607.     kAESharing                    = 13;
  608.  
  609.     kAEZoomIn                    = 7;
  610.     kAEZoomOut                    = 8;
  611.  
  612. {$IFC FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED }
  613.     kTextServiceClass            = 'tsvc';
  614.     kUpdateActiveInputArea        = 'updt';                        {  update the active input area  }
  615.     kShowHideInputWindow        = 'shiw';                        {  show or hide the input window  }
  616.     kPos2Offset                    = 'p2st';                        {  converting global coordinates to char position  }
  617.     kOffset2Pos                    = 'st2p';                        {  converting char position to global coordinates  }
  618.     keyAETSMDocumentRefcon        = 'refc';                        {  TSM document refcon, typeLongInteger  }
  619.     keyAEServerInstance            = 'srvi';                        {  component instance  }
  620.     keyAETheData                = 'kdat';                        {  typeText  }
  621.     keyAEFixLength                = 'fixl';                        {  fix len ??  }
  622.     keyAEUpdateRange            = 'udng';                        {  typeTextRangeArray  }
  623.     keyAECurrentPoint            = 'cpos';                        {  current point  }
  624.     keyAEBufferSize                = 'buff';                        {  buffer size to get the text  }
  625.     keyAEMoveView                = 'mvvw';                        {  move view flag  }
  626.     keyAENextBody                = 'nxbd';                        {  next or previous body  }
  627.     keyAETSMScriptTag            = 'sclg';
  628.     keyAETSMTextFont            = 'ktxf';
  629.     keyAETSMTextPointSize        = 'ktps';
  630.     typeTextRange                = 'txrn';                        {  TextRange  }
  631.     typeComponentInstance        = 'cmpi';                        {  server instance  }
  632.     typeOffsetArray                = 'ofay';                        {  offset array  }
  633.     typeTextRangeArray            = 'tray';
  634.     typeText                    = 'TEXT';                        {  Plain text  }
  635.  
  636. {  Desc type constants  }
  637.     kTSMOutsideOfBody            = 1;
  638.     kTSMInsideOfBody            = 2;
  639.     kTSMInsideOfActiveInputArea    = 3;
  640.  
  641.     kNextBody                    = 1;
  642.     kPreviousBody                = 2;
  643.  
  644.  
  645. TYPE
  646.     TextRangePtr = ^TextRange;
  647.     TextRange = RECORD
  648.         fStart:                    LONGINT;
  649.         fEnd:                    LONGINT;
  650.         fHiliteStyle:            INTEGER;
  651.     END;
  652.  
  653.     TextRangeHandle                        = ^TextRangePtr;
  654.     TextRangeArrayPtr = ^TextRangeArray;
  655.     TextRangeArray = RECORD
  656.         fNumOfRanges:            INTEGER;                                {  specify the size of the fRange array  }
  657.         fRange:                    ARRAY [0..0] OF TextRange;                {  when fNumOfRanges > 1, the size of this array has to be calculated  }
  658.     END;
  659.  
  660.     TextRangeArrayHandle                = ^TextRangeArrayPtr;
  661.     OffsetArrayPtr = ^OffsetArray;
  662.     OffsetArray = RECORD
  663.         fNumOfOffsets:            INTEGER;                                {  specify the size of the fOffset array  }
  664.         fOffset:                ARRAY [0..0] OF LONGINT;                {  when fNumOfOffsets > 1, the size of this array has to be calculated  }
  665.     END;
  666.  
  667.     OffsetArrayHandle                    = ^OffsetArrayPtr;
  668.     WritingCodePtr = ^WritingCode;
  669.     WritingCode = RECORD
  670.         theScriptCode:            ScriptCode;
  671.         theLangCode:            LangCode;
  672.     END;
  673.  
  674.     IntlTextPtr = ^IntlText;
  675.     IntlText = RECORD
  676.         theScriptCode:            ScriptCode;
  677.         theLangCode:            LangCode;
  678.         theText:                SInt8;                                    {  variable length data  }
  679.     END;
  680.  
  681. {$ENDC}
  682. {$IFC FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE }
  683. {  Hilite styles  }
  684.  
  685. CONST
  686.     kCaretPosition                = 1;                            {  specify caret position  }
  687.     kRawText                    = 2;                            {  specify range of raw text  }
  688.     kSelectedRawText            = 3;                            {  specify range of selected raw text  }
  689.     kConvertedText                = 4;                            {  specify range of converted text  }
  690.     kSelectedConvertedText        = 5;                            {  specify range of selected converted text  }
  691.     kBlockFillText                = 6;                            {  Block Fill hilite style  }
  692.     kOutlineText                = 7;                            {  Outline hilite style  }
  693.     kSelectedText                = 8;                            {  Selected hilite style  }
  694.  
  695.     keyAEHiliteRange            = 'hrng';                        {  typeTextRangeArray for System 7, typeHiliteRangeArray for System 8     }
  696.     keyAEPinRange                = 'pnrg';                        {  typeTextRange for System 7, typeTextRegionRange for System 8     }
  697.     keyAEClauseOffsets            = 'clau';                        {  typeOffsetArray for System 7, typeClauseOffsetArray for System 8  }
  698.     keyAEOffset                    = 'ofst';                        {  typeLongInteger for System 7, typeByteOffset for System 8     }
  699.     keyAEPoint                    = 'gpos';                        {  typePoint for System 7, typeQDPoint for System 8  }
  700.     keyAELeftSide                = 'klef';                        {  typeBoolean  }
  701.     keyAERegionClass            = 'rgnc';                        {  typeShortInteger for System 7, typeRegionClass for System 8  }
  702.     keyAEDragging                = 'bool';                        {  typeBoolean  }
  703.  
  704. {$ENDC}
  705. {$IFC FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED }
  706. {$ENDC}
  707. {$IFC FOR_SYSTEM8_COOPERATIVE }
  708. {
  709.  This is the Modern Text Event suite, it defines all the attributes for TextEvent, 
  710.  RawKeyEvents, CommandEvents, NavigationEvents, and VirtualKeyEvents. 
  711.  What's missing: Duplicates need to be resolved with other parts of the ModernEvents in this 
  712.  file! Tague needs to add the data for the Key,Command, and Navigation events.
  713. }
  714.  
  715. CONST
  716.     kAETextEventClass            = 'tevn';                        {  Modern Text Event Class  }
  717.     kSystem7TextServiceClass    = 'tsvc';                        {  System7 TSM Event Class  }
  718.     kAEUpdateActiveInputArea    = 'updt';                        {  update the active input area  }
  719.     kAEPosToOffset                = 'p2st';                        {  converting global coordinates to char position  }
  720.     kAEOffsetToPos                = 'st2p';                        {  converting char position to global coordinates  }
  721.     kAEGetInputAreaRegion        = 'greg';                        {  Get input area  }
  722.     kAEShowHideInputWindow        = 'shiw';                        {  show or hide the input window  }
  723.     kAEInputModeChanged            = 'imcg';                        {  Input Method Mode Changed  }
  724.     keyAETextEventText            = 'ktex';                        {  typeTextObject  }
  725.     keyAETextInputObject        = 'ktio';                        {  typeTextInputObject  }
  726.     keyAEFixedLength            = 'fixl';                        {  typeLongInteger   }
  727.     keyAEReplaceRange            = 'udng';                        {  typeReplaceRangeArray  }
  728.     keyAEGetRegionRange            = 'grgn';                        {  typeGetRange  }
  729.     keyAETextLineInfo            = 'tlin';                        {  typeTextLineInfo  }
  730.     keyAEContext                = 'tsmc';                        {  typeTSMContext  }
  731.     keyAEInlineOwner            = 'inow';                        {  typeTSMContext  }
  732.     keyAEInlineID                = 'inid';                        {  typeLongInteger  }
  733.     keyAEIsLeftSide                = 'klef';                        {  typeBoolean  }
  734.     keyAEIsDragging                = 'bool';                        {  typeBoolean  }
  735.     keyAELength                    = 'leng';                        {  typeByteCount  }
  736.     keyAEShowHideInputWindow    = 'shiw';                        {  typeBoolean  }
  737.     typeGetRange                = 'getr';                        {  GetRegionRange  }
  738.     typeTextRegionRange            = 'trrn';                        {  TextRegionRange  }
  739.     typeReplaceRangeArray        = 'tray';                        {  ReplaceRangeArray  }
  740.     typeHiliteRangeArray        = 'hray';                        {  HiliteRangeArray  }
  741.     typeClauseOffsetArray        = 'cofa';                        {  ClauseOffsetArray  }
  742.     typeTextLineInfo            = 'tinf';                        {  TextLineInfo  }
  743.     typeTextObject                = 'txto';                        {  TextObject  }
  744.     typeTextInputObject            = 'tior';                        {  TextInputObject  }
  745.     typeTSMContext                = 'tctx';                        {  TSMContext  }
  746.     typeRegionClass                = 'rgnc';                        {  RegionClass/GetRegionClass  }
  747.     typeByteOffset                = 'byto';                        {  ByteOffset  }
  748.     typeByteCount                = 'bytc';                        {  ByteCount  }
  749.  
  750.  
  751. TYPE
  752.     HiliteStyle                            = SInt32;
  753. {  Pos to offset results  }
  754.  
  755. CONST
  756.     kOutsideOfBody                = 1;
  757.     kInsideOfBody                = 2;
  758.     kInsideOfActiveInputArea    = 3;
  759.  
  760.  
  761. TYPE
  762.     RegionClass                            = OptionBits;
  763. {  Get Region Actions  }
  764.  
  765. CONST
  766.     kCurrentWord                = 0;                            {  Return the current word  }
  767.     kCurrentSelection            = 1;                            {  Return the current selection  }
  768.     kCurrentRegion                = 2;                            {  Return the region supplied by the caller  }
  769.     kCurrentParagraph            = 3;                            {  Return the region supplied by the caller  }
  770.     kCurrentInlineHole            = 4;                            {  Returns the current inline-hole  }
  771.     kOpenNewInlineHole            = 5;                            {  Creates a new inline-hole  }
  772.     kGetInsertPosition            = 6;                            {  Get the Insert Point  }
  773.     kGetInlineHole                = 7;                            {  Get a specified inline hole  }
  774.     kNextInlineHole                = 8;                            {  Get the next inline hole  }
  775.  
  776.  
  777. TYPE
  778.     GetRegionClass                        = OptionBits;
  779. {  Hilite Range information  }
  780.     HiliteRangePtr = ^HiliteRange;
  781.     HiliteRange = RECORD
  782.         fStart:                    ByteOffset;
  783.         fEnd:                    ByteOffset;
  784.         fHiliteStyle:            HiliteStyle;
  785.         fColor:                    RGBColor;
  786.         fPenSize:                Point;
  787.     END;
  788.  
  789.     HiliteRangeArrayPtr = ^HiliteRangeArray;
  790.     HiliteRangeArray = RECORD
  791.         fNumOfRanges:            ItemCount;                                {  specify the size of the fRange array  }
  792.         fRange:                    ARRAY [0..0] OF HiliteRange;            {  when fNumOfRanges > 1, the size of this array has to be calculated  }
  793.     END;
  794.  
  795. {  Text Line specification  }
  796.     TextLineInfoPtr = ^TextLineInfo;
  797.     TextLineInfo = RECORD
  798.         fLeadingBasePt:            Point;                                    {  Current Cursor Point      }
  799.         fFontID:                INTEGER;                                {  Texts Font ID              }
  800.         fPointSize:                INTEGER;                                {  Point Size of text          }
  801.         fLineHeight:            INTEGER;                                {  Line height of text          }
  802.         fLineAscent:            INTEGER;                                {  Line Ascent of text          }
  803.         fLineAngle:                INTEGER;                                {  Angle of Text              }
  804.         fFgColor:                RGBColor;                                {  ForeGround color          }
  805.         fBkColor:                RGBColor;                                {  ForeGround color          }
  806.     END;
  807.  
  808. {  Text Range specification  }
  809.     TextRegionRangePtr = ^TextRegionRange;
  810.     TextRegionRange = RECORD
  811.         fStart:                    ByteOffset;
  812.         fEnd:                    ByteOffset;
  813.     END;
  814.  
  815. {  Replace Range specification  }
  816.     ReplaceRangePtr = ^ReplaceRange;
  817.     ReplaceRange = RECORD
  818.         fOldStart:                ByteOffset;
  819.         fOldEnd:                ByteOffset;
  820.         fNewStart:                ByteOffset;
  821.         fNewEnd:                ByteOffset;
  822.     END;
  823.  
  824.     ReplaceRangeArrayPtr = ^ReplaceRangeArray;
  825.     ReplaceRangeArray = RECORD
  826.         fNumOfRanges:            ItemCount;                                {  specify the size of the fRange array  }
  827.         fRange:                    ARRAY [0..0] OF ReplaceRange;            {  when fNumOfRanges > 1, the size of this array has to be calculated  }
  828.     END;
  829.  
  830. {  Get Region specification  }
  831.     GetRegionRangePtr = ^GetRegionRange;
  832.     GetRegionRange = RECORD
  833.         fRequestStart:            LONGINT;
  834.         fRequestEnd:            LONGINT;
  835.         fTotalRangeStart:        ByteOffset;
  836.         fTotalRangeEnd:            ByteOffset;
  837.     END;
  838.  
  839.     ClauseOffsetArrayPtr = ^ClauseOffsetArray;
  840.     ClauseOffsetArray = RECORD
  841.         fNumOfOffsets:            ItemCount;                                {  specify the size of the fOffset array  }
  842.         fOffset:                ARRAY [0..0] OF ByteOffset;                {  when fNumOfOffsets > 1, the size of this array has to be calculated  }
  843.     END;
  844.  
  845. {$ENDC}
  846. {$ALIGN RESET}
  847. {$POP}
  848.  
  849. {$SETC UsingIncludes := AERegistryIncludes}
  850.  
  851. {$ENDC} {__AEREGISTRY__}
  852.  
  853. {$IFC NOT UsingIncludes}
  854.  END.
  855. {$ENDC}
  856.